package com.hanggold.endpoint;

import com.hanggold.endpoint.bean.SourceBean;
import com.hanggold.endpoint.bean.TargetBean;
import com.hanggold.endpoint.util.BeanUtil;
import org.springframework.beans.BeanUtils;

public class Bt {


    public static void main(String[] args) {
        SourceBean sourceBean = new SourceBean();


        TargetBean targetBean = new TargetBean();

        BeanUtils.copyProperties(sourceBean,targetBean);

        BeanUtils.copyProperties(sourceBean,targetBean);

    }
}
